package edu.dali.enterprise_test.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class Menus {
    private String id;
    private String text;
    private String icon;
    private String url;
    private String targetType;
    private boolean isHeader;
    @JsonProperty("isOpen")
    private boolean isOpen;
    private List<Menus> children;
}
